package com.lyk.coursearrange.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDate;
@TableName("tb_Installment")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder

public class Installment {
    /***
     *分期付款的总期数
     */
    @TableField("installmentNumber")
    private Long installmentNumber;
    /***
     *表示分期付款的每期金额
     */
    @TableField("installmentAmount")
    private double installmentAmount;
    /***
     *分期返回的时间
     */
    @TableField("paymentDate")
    private LocalDate paymentDate;


    public Installment(int i, double installmentAmount) {

    }
}